package com.song.module.admin.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.song.module.admin.entity.ApUserChefOrder;
import com.song.framework.mapper.BasePlusMapper;
import com.song.module.admin.request.ApUserChefRecordRequest;
import com.song.module.admin.response.ApUserChefRecordResponse;
import org.apache.ibatis.annotations.Param;

/**
 * 厨师预约记录Mapper接口
 *
 */
public interface ApUserChefRecordMapper extends BasePlusMapper<ApUserChefOrder> {

    /**
     * 分页查询预约信息
     *
     * @param page page
     * @param req  req
     * @return IPage<ApUserChefRecordResponse>
     */
    IPage<ApUserChefRecordResponse> selectAppointmentPage(@Param("page") Page<ApUserChefOrder> page, @Param("req") ApUserChefRecordRequest req);


}
